package org.luxor.common.netty.exception;

import org.luxor.commons.core.web.RestStatus;

/**
 * Netty Call TimeOut Exception
 *
 * @author Mr.yan @date 2023/12/7
 */
public class NettyCallException extends NettyConnectionException {

    public NettyCallException() {
    }

    public NettyCallException(String message) {
        super(message);
    }

    public NettyCallException(String message, Throwable e) {
        super(message, e);
    }

    public NettyCallException(Integer code, String message) {
        super(code, message);
    }

    public NettyCallException(Integer code, String message, String error) {
        super(code, message, error);
    }

    public NettyCallException(Integer code, String message, Throwable e) {
        super(code, message, e);
    }

    public NettyCallException(RestStatus restStatus) {
        super(restStatus);
    }

    public NettyCallException(RestStatus restStatus, String error) {
        super(restStatus, error);
    }

    public NettyCallException(RestStatus restStatus, Throwable e) {
        super(restStatus, e);
    }
}
